package com.dd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhd
 * @since 2024-12-12 08:58
 */
@TableName("squad")
@Data
@Schema(name = "Squad", description = "")
public class Squad {

    @Schema(description = "小组编号")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "小组名称")
    @TableField("name")
    private String name;

    @Schema(description = "成员数量")
    @TableField("num")
    private Integer num;

    @Schema(description = "积分")
    @TableField("integral")
    private Integer integral;

    @Schema(description = "口号")
    @TableField("slogan")
    private String slogan;
}
